package com.osi.project.redis.generate;

import com.osi.start.common.business.dto.BaseRequestDTO;
import io.swagger.annotations.ApiModelProperty;

 import java.lang.Long;
 import java.lang.String;
 import java.util.Date;

/**
 * @Desc redis慢sql日志,表对应的请求体
 * @author pwh
 * @date 2018年01月01日 09:09:09
 * @Copyright (c) onestop
 */
public class RedisSlowLogReqMod extends BaseRequestDTO {
	
	private static final long serialVersionUID = 1L;
	
	    /**
	     *主键
	     */
	@ApiModelProperty(value = "主键")
	protected Long id;

	    /**
	     *
	     */
	@ApiModelProperty(value = "")
	protected Long logId;

	    /**
	     *执行的时间戳
	     */
	@ApiModelProperty(value = "执行的时间戳")
	protected Date startTime;

	    /**
	     *执行耗时，微秒
	     */
	@ApiModelProperty(value = "执行耗时，微秒")
	protected Long duration;

	    /**
	     *执行参数
	     */
	@ApiModelProperty(value = "执行参数")
	protected String params;

	    /**
	     *参数md5值
	     */
	@ApiModelProperty(value = "参数md5值")
	protected String paramsMd5;

	    /**
	     *备注
	     */
	@ApiModelProperty(value = "备注")
	protected String remark;

	    /**
	     *创建时间
	     */
	@ApiModelProperty(value = "创建时间",hidden = true)
	protected Date createTime;

    @ApiModelProperty(value = "开始的创建时间")
    protected Date startCreateTime;

    @ApiModelProperty(value = "结束的创建时间")
    protected Date endCreateTime;

	public void setId(Long id){
	  	this.id = id;
	}

	public Long getId(){
		return id;
	}


	public void setLogId(Long logId){
	  	this.logId = logId;
	}

	public Long getLogId(){
		return logId;
	}


	public void setStartTime(Date startTime){
	  	this.startTime = startTime;
	}

	public Date getStartTime(){
		return startTime;
	}


	public void setDuration(Long duration){
	  	this.duration = duration;
	}

	public Long getDuration(){
		return duration;
	}


	public void setParams(String params){
	  	this.params = params == null ? null : params.trim();
	}

	public String getParams(){
		return params;
	}


	public void setParamsMd5(String paramsMd5){
	  	this.paramsMd5 = paramsMd5 == null ? null : paramsMd5.trim();
	}

	public String getParamsMd5(){
		return paramsMd5;
	}


	public void setRemark(String remark){
	  	this.remark = remark == null ? null : remark.trim();
	}

	public String getRemark(){
		return remark;
	}


	public void setCreateTime(Date createTime){
	  	this.createTime = createTime;
	}

	public Date getCreateTime(){
		return createTime;
	}

    public Date getStartCreateTime() {
        return startCreateTime;
    }

    public void setStartCreateTime(Date startCreateTime) {
        this.startCreateTime = startCreateTime;
    }

    public Date getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(Date endCreateTime) {
        this.endCreateTime = endCreateTime;
    }


}

